package practicasprolenguajes.dos;

import java.util.HashSet;
import java.util.Iterator;

public class Conjpalres {

	
	private HashSet<String> PalReserv;
	/**
	 * @param args
	 */
	
	public Conjpalres()
	{
		PalReserv = new HashSet<String>();
	}
	
	public void SetReserv(HashSet<String> p)
	{
		PalReserv = new HashSet<String>(p);
	}
	 
	public HashSet<String> GetReserv()
	{
		return PalReserv;
	}
	
	public void MostrarSetPal()
	{
		Iterator<String> iter = PalReserv.iterator();
		while (iter.hasNext())
		{
			String pal  = iter.next();
			System.out.print(" " +pal);
		}
	}
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
